<!DOCTYPE html>
<html lang="en">
<title>title</title>

<#import "/layout/layout.html" as body/>

<@body.page>

<p>This is custom content.</p>

</@body.page>
<script>
    function showNotice(){
        Notification.requestPermission(function(perm) {
            if (perm === 'granted') {
                var notification = new Notification('这是一个通知',{
                    dir:'auto',
                    lang:'hi',
                    tag: 'testTag',
                    icon: 'https://static.cnblogs.com/images/adminlogo.gif',
                    body: '通知 content'
                })
            }
        })

    }

</script>
</html>